#ifndef THREADAFFINITYLINUX_H
#define THREADAFFINITYLINUX_H

#ifdef __linux

#include "IThreadAffinity.h"

/**
 * @brief The ThreadAffinityLinux class
 * Linux平台线程亲和性设置
 */
class ThreadAffinityLinux : public IThreadAffinity
{
public:
    virtual bool setAffinity(quint64 threadId, const QSet<int>& processorIndexs) override;
};

#endif

#endif // THREADAFFINITYLINUX_H
